package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.FireDevice;

import java.util.List;

/**
 * Created by sunlg on 2017/5/26.
 */

public interface FireDeviceContract {
    interface View extends IBaseView {
        void showNoneDeviceText();
        void hideNoneDeviceText();
        void showFireDeviceList(List<FireDevice> deviceList);
    }

    interface Presenter extends IBasePresenter<View> {
        void deleteFireDevice(int deviceId);
        void loadAllFireDevice();
    }
}
